home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-07-14 | 2.1 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
1%
| dexvert
| TTComp Archive (archive/ttcomp)
| fallback
| Supported |
100%
| file
| TTComp archive data, binary, 2K dictionary
| default (weak)
| |
99%
| file
| data
| default
| |
66%
| TrID
| TTComp archive compressed (bin-2K)
| default (weak)
| |
33%
| TrID
| Adobe PhotoShop Brush
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 29 00 00 00 fb 00 00 | 00 29 61 31 30 36 00 00 |.)......|.)a106..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 0f 41 64 6a 75 73 | 74 4d 65 6e 75 49 74 65 |...Adjus|tMenuIte|
|00000060| 6d 73 00 00 06 00 00 00 | 00 00 92 00 00 00 fc 00 |ms......|........|
|00000070| 00 00 92 00 00 00 14 03 | c1 00 28 05 7e 00 ff 00 |........|..(.~...|
|00000080| 00 00 00 00 00 0f a8 00 | 00 00 00 4e 1c 00 00 00 |........|...N....|
|00000090| 09 00 00 00 04 00 04 ff | fc ff fa 00 04 00 04 ff |........|........|
|000000a0| fc ff fc 00 00 00 00 00 | 00 00 00 83 00 0b 40 10 |........|......@.|
|000000b0| 6b 53 63 72 65 65 6e 41 | 50 49 2f 31 39 39 39 36 |kScreenA|PI/19996|
|000000c0| 00 06 47 65 6e 65 76 61 | 00 00 38 42 6f 6f 6c 65 |..Geneva|..8Boole|
|000000d0| 61 6e 20 41 64 6a 75 73 | 74 4d 65 6e 75 49 74 65 |an Adjus|tMenuIte|
|000000e0| 6d 73 28 57 69 6e 64 6f | 77 50 74 72 20 77 69 6e |ms(Windo|wPtr win|
|000000f0| 64 6f 77 2c 20 73 68 6f | 72 74 20 6d 65 6e 75 49 |dow, sho|rt menuI|
|00000100| 44 29 3b 00 00 00 06 00 | 00 00 00 00 a7 00 00 00 |D);.....|........|
|00000110| fd 00 00 00 a7 00 00 00 | 00 03 c1 00 14 05 7e 00 |........|......~.|
|00000120| ff 00 00 00 00 00 00 0f | a8 00 00 00 00 4e 1d 00 |........|.....N..|
|00000130| 00 00 09 00 00 00 04 00 | 04 ff fc ff fa 00 04 00 |........|........|
|00000140| 04 ff fc ff fc 00 00 00 | 00 00 00 00 00 83 00 0b |........|........|
|00000150| 40 14 6b 53 63 72 65 65 | 6e 4f 6e 65 4c 69 6e 65 |@.kScree|nOneLine|
|00000160| 2f 31 39 39 39 37 00 06 | 47 65 6e 65 76 61 00 00 |/19997..|Geneva..|
|00000170| 49 a5 41 70 70 57 61 6e | 6e 61 62 65 20 28 57 69 |I.AppWan|nabe (Wi|
|00000180| 6e 64 6f 77 2e 63 29 2e | 20 20 43 61 6c 6c 65 64 |ndow.c).| Called|
|00000190| 20 62 79 20 66 72 61 6d | 65 77 6f 72 6b 20 73 6f | by fram|ework so|
|000001a0| 20 61 70 70 20 63 61 6e | 20 61 64 6a 75 73 74 20 | app can| adjust |
|000001b0| 74 68 65 20 6d 65 6e 75 | 73 2e 00 00 00 06 00 00 |the menu|s.......|
|000001c0| 00 00 00 44 00 00 00 fe | 00 00 00 44 00 00 00 00 |...D....|...D....|
|000001d0| 02 6b 04 40 02 6c 01 00 | 00 00 00 00 00 01 0f f1 |.k.@.l..|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 06 00 00 00 00 00 80 | 00 00 00 ff 00 00 00 80 |........|........|
|00000220| 00 00 00 00 02 6b 02 28 | 03 c1 00 ff 00 00 00 00 |.....k.(|........|
|00000230| 00 00 0f a8 00 00 00 00 | 4e 16 00 00 00 09 00 00 |........|N.......|
|00000240| 00 04 00 04 ff fc ff fa | 00 04 00 04 ff fc ff fc |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 83 00 0b 40 0b 6c 69 6e |........|...@.lin|
|00000260| 6b 73 2f 31 39 39 39 30 | 00 06 4d 6f 6e 61 63 6f |ks/19990|..Monaco|
|00000270| 00 00 15 61 31 30 36 2c | 41 64 6a 75 73 74 4d 65 |...a106,|AdjustMe|
|00000280| 6e 75 49 74 65 6d 73 0d | 00 16 00 01 00 00 00 00 |nuItems.|........|
|00000290| 00 10 00 0c 00 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 06 00 00 00 00 05 e4 | 00 00 01 00 00 00 05 e4 |........|........|
|000002b0| 00 00 00 00 00 00 75 30 | 02 6b 01 ff 00 00 00 00 |......u0|.k......|
|000002c0| 00 00 0f a8 00 00 00 00 | 4e 1f 00 00 00 09 00 00 |........|N.......|
|000002d0| 00 04 00 04 ff fc ff fa | 00 04 00 04 ff fc ff fc |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 83 00 0b 40 0a 62 6f 64 |........|...@.bod|
|000002f0| 79 2f 31 39 39 39 39 00 | 06 4d 6f 6e 61 63 6f 00 |y/19999.|.Monaco.|
|00000300| 05 7a 42 6f 6f 6c 65 61 | 6e 20 41 64 6a 75 73 74 |.zBoolea|n Adjust|
|00000310| 4d 65 6e 75 49 74 65 6d | 73 28 57 69 6e 64 6f 77 |MenuItem|s(Window|
|00000320| 50 74 72 20 77 69 6e 64 | 6f 77 2c 20 73 68 6f 72 |Ptr wind|ow, shor|
|00000330| 74 20 6d 65 6e 75 49 44 | 29 3b 0d 0d 54 68 65 20 |t menuID|);..The |
|00000340| 41 70 70 73 54 6f 47 6f | 20 66 72 61 6d 65 77 6f |AppsToGo| framewo|
|00000350| 72 6b 20 64 6f 65 73 20 | 61 20 6c 6f 74 20 6f 66 |rk does |a lot of|
|00000360| 20 74 68 65 20 6d 65 6e | 75 20 68 61 6e 64 6c 69 | the men|u handli|
|00000370| 6e 67 20 66 6f 72 20 79 | 6f 75 2c 20 62 75 74 20 |ng for y|ou, but |
|00000380| 74 68 65 72 65 0d 61 72 | 65 20 63 65 72 74 61 69 |there.ar|e certai|
|00000390| 6e 20 74 61 73 6b 73 20 | 74 68 61 74 20 6d 75 73 |n tasks |that mus|
|000003a0| 74 20 62 65 20 64 6f 6e | 65 20 62 79 20 74 68 65 |t be don|e by the|
|000003b0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2e 20 20 54 | applica|tion. T|
|000003c0| 68 65 20 66 72 61 6d 65 | 77 6f 72 6b 0d 69 74 65 |he frame|work.ite|
|000003d0| 72 61 74 65 73 20 74 68 | 72 6f 75 67 68 20 74 68 |rates th|rough th|
|000003e0| 65 20 6d 65 6e 75 42 61 | 72 2c 20 61 6e 64 20 63 |e menuBa|r, and c|
|000003f0| 61 6c 6c 73 20 74 68 65 | 20 61 70 70 6c 69 63 61 |alls the| applica|
|00000400| 74 69 6f 6e 20 66 6f 72 | 20 65 61 63 68 20 6d 65 |tion for| each me|
|00000410| 6e 75 2e 0d 54 68 65 20 | 72 75 6c 65 73 20 66 6f |nu..The |rules fo|
|00000420| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 63 61 |r applic|ation ca|
|00000430| 6c 6c 69 6e 67 20 61 72 | 65 3a 0d 31 29 20 20 49 |lling ar|e:.1) I|
|00000440| 66 20 74 68 65 72 65 20 | 61 72 65 20 6e 6f 20 77 |f there |are no w|
|00000450| 69 6e 64 6f 77 73 2c 20 | 74 68 65 6e 20 41 64 6a |indows, |then Adj|
|00000460| 75 73 74 4d 65 6e 75 49 | 74 65 6d 73 20 69 73 20 |ustMenuI|tems is |
|00000470| 63 61 6c 6c 65 64 20 61 | 62 73 6f 6c 75 74 65 6c |called a|bsolutel|
|00000480| 79 2e 0d 20 20 20 20 47 | 69 76 65 6e 20 74 68 61 |y.. G|iven tha|
|00000490| 74 20 69 74 20 63 61 6e | 20 62 65 20 63 61 6c 6c |t it can| be call|
|000004a0| 65 64 20 77 69 74 68 20 | 6e 6f 20 77 69 6e 64 6f |ed with |no windo|
|000004b0| 77 73 2c 20 74 68 69 73 | 20 73 68 6f 75 6c 64 20 |ws, this| should |
|000004c0| 62 65 20 6b 65 70 74 20 | 69 6e 20 6d 69 6e 64 2e |be kept |in mind.|
|000004d0| 0d 32 29 20 20 49 66 20 | 74 68 65 72 65 20 69 73 |.2) If |there is|
|000004e0| 20 61 20 74 6f 70 20 77 | 69 6e 64 6f 77 2c 20 74 | a top w|indow, t|
|000004f0| 68 65 6e 20 74 68 61 74 | 20 64 6f 63 75 6d 65 6e |hen that| documen|
|00000500| 74 d5 73 20 41 64 6a 75 | 73 74 4d 65 6e 75 49 74 |t.s Adju|stMenuIt|
|00000510| 65 6d 73 50 72 6f 63 50 | 74 72 20 66 69 65 6c 64 |emsProcP|tr field|
|00000520| 0d 20 20 20 20 69 73 20 | 72 65 66 65 72 65 6e 63 |. is |referenc|
|00000530| 65 64 20 74 6f 20 64 65 | 74 65 72 6d 69 6e 65 20 |ed to de|termine |
|00000540| 77 68 65 72 65 20 74 6f | 20 63 61 6c 6c 2e 20 20 |where to| call. |
|00000550| 54 68 69 73 20 66 69 65 | 6c 64 20 69 73 20 69 6e |This fie|ld is in|
|00000560| 69 74 69 61 6c 69 7a 65 | 64 20 74 6f 0d 20 20 20 |itialize|d to. |
|00000570| 20 41 64 6a 75 73 74 4d | 65 6e 75 49 74 65 6d 73 | AdjustM|enuItems|
|00000580| 2e 20 20 54 68 69 73 20 | 6d 65 61 6e 73 20 74 68 |. This |means th|
|00000590| 61 74 2c 20 75 6e 6c 65 | 73 73 20 79 6f 75 20 67 |at, unle|ss you g|
|000005a0| 6f 20 74 6f 20 73 6f 6d | 65 20 74 72 6f 75 62 6c |o to som|e troubl|
|000005b0| 65 2c 20 74 68 69 73 0d | 20 20 20 20 69 73 20 74 |e, this.| is t|
|000005c0| 68 65 20 6f 6e 6c 79 20 | 70 6c 61 63 65 20 74 68 |he only |place th|
|000005d0| 61 74 20 74 68 65 20 66 | 72 61 6d 65 77 6f 72 6b |at the f|ramework|
|000005e0| 20 77 69 6c 6c 20 63 61 | 6c 6c 20 66 6f 72 20 6d | will ca|ll for m|
|000005f0| 65 6e 75 20 61 64 6a 75 | 73 74 6d 65 6e 74 2e 0d |enu adju|stment..|
|00000600| 0d 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 63 |.The fol|lowing c|
|00000610| 6f 64 65 20 69 73 20 66 | 72 6f 6d 20 41 70 70 57 |ode is f|rom AppW|
|00000620| 61 6e 6e 61 62 65 2e 20 | 20 49 74 20 69 73 20 61 |annabe. | It is a|
|00000630| 20 73 61 6d 70 6c 65 20 | 6f 66 20 77 68 61 74 20 | sample |of what |
|00000640| 74 68 69 73 20 66 75 6e | 63 74 69 6f 6e 0d 73 68 |this fun|ction.sh|
|00000650| 6f 75 6c 64 20 6c 6f 6f | 6b 20 6c 69 6b 65 3a 0d |ould loo|k like:.|
|00000660| 0d 42 6f 6f 6c 65 61 6e | 20 41 64 6a 75 73 74 4d |.Boolean| AdjustM|
|00000670| 65 6e 75 49 74 65 6d 73 | 28 57 69 6e 64 6f 77 50 |enuItems|(WindowP|
|00000680| 74 72 20 77 69 6e 64 6f | 77 2c 20 73 68 6f 72 74 |tr windo|w, short|
|00000690| 20 6d 65 6e 75 49 44 29 | 0d 7b 0d 20 20 20 20 42 | menuID)|.{. B|
|000006a0| 6f 6f 6c 65 61 6e 20 20 | 20 20 20 72 65 64 72 61 |oolean | redra|
|000006b0| 77 4d 65 6e 75 42 61 72 | 3b 0d 20 20 20 20 4d 65 |wMenuBar|;. Me|
|000006c0| 6e 75 48 61 6e 64 6c 65 | 20 20 6d 65 6e 75 3b 0d |nuHandle| menu;.|
|000006d0| 0d 20 20 20 20 72 65 64 | 72 61 77 4d 65 6e 75 42 |. red|rawMenuB|
|000006e0| 61 72 20 3d 20 66 61 6c | 73 65 3b 0d 0d 20 20 20 |ar = fal|se;.. |
|000006f0| 20 73 77 69 74 63 68 20 | 28 6d 65 6e 75 49 44 29 | switch |(menuID)|
|00000700| 20 7b 0d 20 20 20 20 20 | 20 20 20 63 61 73 65 20 | {. | case |
|00000710| 6d 46 69 6c 65 3a 0d 20 | 20 20 20 20 20 20 20 20 |mFile:. | |
|00000720| 20 20 20 72 65 64 72 61 | 77 4d 65 6e 75 42 61 72 | redra|wMenuBar|
|00000730| 20 3d 20 44 6f 41 64 6a | 75 73 74 46 69 6c 65 4d | = DoAdj|ustFileM|
|00000740| 65 6e 75 28 77 69 6e 64 | 6f 77 29 3b 0d 20 20 20 |enu(wind|ow);. |
|00000750| 20 20 20 20 20 20 20 20 | 20 62 72 65 61 6b 3b 0d | | break;.|
|00000760| 20 20 20 20 20 20 20 20 | 63 61 73 65 20 6d 45 64 | |case mEd|
|00000770| 69 74 3a 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |it:. | |
|00000780| 72 65 64 72 61 77 4d 65 | 6e 75 42 61 72 20 3d 20 |redrawMe|nuBar = |
|00000790| 44 6f 41 64 6a 75 73 74 | 45 64 69 74 4d 65 6e 75 |DoAdjust|EditMenu|
|000007a0| 28 77 69 6e 64 6f 77 29 | 3b 0d 20 20 20 20 20 20 |(window)|;. |
|000007b0| 20 20 20 20 20 20 62 72 | 65 61 6b 3b 0d 20 20 20 | br|eak;. |
|000007c0| 20 20 20 20 20 64 65 66 | 61 75 6c 74 3a 0d 20 20 | def|ault:. |
|000007d0| 20 20 20 20 20 20 20 20 | 20 20 6d 65 6e 75 20 3d | | menu =|
|000007e0| 20 47 65 74 4d 65 6e 75 | 48 61 6e 64 6c 65 28 6d | GetMenu|Handle(m|
|000007f0| 65 6e 75 49 44 29 3b 0d | 20 20 20 20 20 20 20 20 |enuID);.| |
|00000800| 20 20 20 20 69 66 20 28 | 6d 65 6e 75 29 0d 20 20 | if (|menu). |
|00000810| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 28 2a | | (*|
|00000820| 6d 65 6e 75 29 2d 3e 65 | 6e 61 62 6c 65 46 6c 61 |menu)->e|nableFla|
|00000830| 67 73 20 7c 3d 20 30 78 | 46 46 46 46 46 46 46 45 |gs |= 0x|FFFFFFFE|
|00000840| 4c 3b 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 62 |L;. | b|
|00000850| 72 65 61 6b 3b 0d 20 20 | 20 20 7d 0d 0d 20 20 20 |reak;. | }.. |
|00000860| 20 72 65 74 75 72 6e 28 | 72 65 64 72 61 77 4d 65 | return(|redrawMe|
|00000870| 6e 75 42 61 72 29 3b 0d | 7d 0d 0d 0d 00 16 00 01 |nuBar);.|}.......|
|00000880| 00 00 00 00 00 0b 00 09 | 00 04 00 00 00 09 00 00 |........|........|
|00000890| 00 00 00 00 | |.... | |
+--------+-------------------------+-------------------------+--------+--------+